Skip to content

Conversation

@rghaddab
Copy link
Contributor

@rghaddab rghaddab commented Apr 12, 2025

Simplify the Key/Value _Get function
Adds the support for legacy ZMS backend for Settings

NCS PR: nrfconnect/sdk-nrf#20691

Use settings_load_one function to load one key/value settings entry
instead of settings_load_subtree_direct.
This will avoid loading all the keys for some storage backends.
Simplify as well the Delete function by using settings_get_val_len()
function.

Signed-off-by: Riadh Ghaddab <[email protected]>
(cherry picked from commit d60fd47)
To maintain backward compatibility, keep the support for the legacy ZMS
backend for Settings.

Signed-off-by: Riadh Ghaddab <[email protected]>
(cherry picked from commit 153abdf)
@rghaddab rghaddab requested a review from a team as a code owner April 12, 2025 11:50
@rghaddab rghaddab changed the title Backport new ZMS backend changes [Backport v3.0-branch] new ZMS backend changes Apr 12, 2025
@carlescufi carlescufi merged commit d2fe385 into nrfconnect:v3.0-branch Apr 14, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants